<?php 
$form = array(
    'id'    => 'form-options',
    'class' => 'ut-form'
);
echo form_open('site/update_options',$form);
echo '<ul>';
echo '<li>'.form_label('Domyślne rozgrywki','comp').form_dropdown('comp',$comps,$this->config->item('ut_comp')).'</li>'; 
echo '<li>'.form_label('Domyślna drużyna','team').form_dropdown('team',$teams,$this->config->item('ut_team')).'</li>';

echo '</ul>';
$submit = array(
    'name'  => 'update',
    'value' => 'Zapisz opcje',
    'class' => 'btn btn-large btn-primary'
);
echo '<p>'.form_submit($submit).'</p>'.
     '<p>'.anchor('site/restore_defaults','<i class="icon-repeat icon-white"></i> Przywróć domyślne',array('class'=>'btn btn-mini btn-danger')).' '
        .anchor('site/index','<i class="icon-remove icon-white"></i> Nie zapisuj',array('class'=>'btn btn-mini btn-inverse'))
    .'</p>';
?>
